package com.lyf.auth.dataDao;

import com.lyf.auth.domain.pojo.AuthConfiguration;
import com.lyf.auth.domain.pojo.JWKInfo;
import com.lyf.auth.domain.pojo.JwksInfo;
import com.lyf.auth.domain.pojo.ScopeSupportApiListAccess;

import java.util.List;
import java.util.Set;

public interface AuthConfigurationDao {
   AuthConfiguration registerClientAccount(String comment, Set<String> owner) ;

   Set<String> getScopeSupportApiList(String scope, String clientId) ;

   List<ScopeSupportApiListAccess> getAllScopeInfoFromDB() ;

   void addJwk(JWKInfo jwkInfo) ;

   JwksInfo getJwk() ;

   void addScopeSupportApiList(ScopeSupportApiListAccess access) ;

   AuthConfiguration getClientInfo(String clientId) ;

   void setClientScope(String clientId, Set<String> scopes) ;
}
